﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: StatVisitorEntity.cs
// 修改时间：2020-9-8 10:40:11
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：StatVisitor 的实体类.
	/// </summary>
	[Table("StatVisitor")]
	public partial class StatVisitorEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// (null)(主键)(自增长)
		/// </summary>
		[Column("ID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? ID
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private DateTime? _vTime = null;
		/// <summary>
		/// 访问时间
		/// </summary>
		[Column("VTime",TypeName="datetime")]
		public DateTime? VTime
		{
			get {return _vTime;}
			set {_vTime = value;}
		}
		
		private System.String _ip = string.Empty;
		/// <summary>
		/// Ip地址
		/// </summary>
		[Column("Ip",TypeName="varchar(15)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Ip
		{
			get {return _ip;}
			set {_ip = value;}
		}
		
		private System.String _address = string.Empty;
		/// <summary>
		/// 地理位置
		/// </summary>
		[Column("Address",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Address
		{
			get {return _address;}
			set {_address = value;}
		}
		
		private System.String _system = string.Empty;
		/// <summary>
		/// 操作系统
		/// </summary>
		[Column("System",TypeName="varchar(20)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String System
		{
			get {return _system;}
			set {_system = value;}
		}
		
		private System.String _browser = string.Empty;
		/// <summary>
		/// 浏览器
		/// </summary>
		[Column("Browser",TypeName="varchar(20)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Browser
		{
			get {return _browser;}
			set {_browser = value;}
		}
		
		private System.String _screen = string.Empty;
		/// <summary>
		/// 显示器分辨率
		/// </summary>
		[Column("Screen",TypeName="varchar(10)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Screen
		{
			get {return _screen;}
			set {_screen = value;}
		}
		
		private System.String _color = string.Empty;
		/// <summary>
		/// 显示器色彩
		/// </summary>
		[Column("Color",TypeName="varchar(16)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Color
		{
			get {return _color;}
			set {_color = value;}
		}
		
		private System.String _referer = string.Empty;
		/// <summary>
		/// 来路
		/// </summary>
		[Column("Referer",TypeName="varchar(100)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Referer
		{
			get {return _referer;}
			set {_referer = value;}
		}
		
		private int? _timezone = 0;
		/// <summary>
		/// 时区
		/// </summary>
		[Column("Timezone",TypeName="int")]
		public int? Timezone
		{
			get {return _timezone;}
			set {_timezone = value;}
		}
		
		#endregion
	}
}
